Skip to content

Conversation

coinmoles
Copy link

@coinmoles coinmoles commented Sep 26, 2025

  • Introduces enum StreamError
  • Replace OpenAIError::StreamError payload from String to StreamError

This is technically a breaking change as it can break codes that matched the OpenAIError::StreamError variant.
At least the Display string should look the same.

Closes #434

Copy link

@sigsegved sigsegved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this.

@64bit
Copy link
Owner

64bit commented Oct 20, 2025

This was included in v0.30.0 alongside #413

Thank you for contributions!

@64bit 64bit closed this Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance OpenAIError::StreamError payload

4 participants